//
//  YPMineModel.h
//  project
//
//  Created by 姚敦鹏 on 2018/10/25.
//  Copyright © 2018 rocHome. All rights reserved.
//

#import "YPBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface YPMineModel : YPBaseModel

@property (nonatomic,copy) NSString *iconName;
@property (nonatomic,copy) NSString *title;

+(instancetype)modelWithTitle:(NSString *)title
                     iconName:(NSString *)iconName;
@end


@interface YPMineSectionModel : YPBaseModel

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSArray<YPMineModel *>  *contents;
@property (nonatomic,assign,getter=isOpen) BOOL open;

+(instancetype)modelWithTitle:(NSString *)title
                 withContents:(NSArray *)contents
                     withOpen:(BOOL)open;

@end

NS_ASSUME_NONNULL_END
